package pub.guoxin.oops.common.sms.service;

import pub.guoxin.oops.common.sms.enums.SmsSignName;
import pub.guoxin.oops.common.sms.enums.SmsTemplate;

import java.util.Map;

/**
 * Created by guoxin on 18-3-13.
 */
public interface SmsSender {
    boolean send(String mobile, Map<String, String> templateParam, SmsTemplate template, SmsSignName smsSignName);

    boolean validate(String mobile, String code);
}
